﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BoAddonBiz_FreightForwarder.Custom.Models
{
    internal class Customs
    {
        private CustomsLines _Lines;
        /// <summary>
        /// 预入编号
        /// </summary>
        public string UniqueId { get; set; }
        /// <summary>
        /// 申报地海关
        /// </summary>
        public string ApplyCustoms { get; set; }
        /// <summary>
        /// 海关编号
        /// </summary>
        public string CustomsNo { get; set; }
        /// <summary>
        /// 报关单类型
        /// </summary>
        public string CustomsStyleType { get; set; }
        /// <summary>
        /// 口岸
        /// </summary>
        public string Port { get; set; }
        /// <summary>
        /// 备案号
        /// </summary>
        public string RecordNo { get; set; }
        /// <summary>
        /// 进出口日期
        /// </summary>
        public string Datetime { get; set; }
        /// <summary>
        /// 申报日期
        /// </summary>
        public string DeclaredDate { get; set; }
        /// <summary>
        /// 经营单位
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 经营单位名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 收货单位
        /// </summary>
        public string DeliveryCompany { get; set; }
        /// <summary>
        /// 收货单位名称
        /// </summary>
        public string DeliveryCompanyName { get; set; }
        /// <summary>
        /// 运输方式
        /// </summary>
        public string Transport { get; set; }
        /// <summary>
        /// 运输工具
        /// </summary>
        public string Transportation { get; set; }
        /// <summary>
        /// 运单号
        /// </summary>
        public string Waybill { get; set; }
        /// <summary>
        /// 贸易方式
        /// </summary>
        public string TradeMothds { get; set; }
        /// <summary>
        /// 征免性质 
        /// </summary>
        public string Natrue { get; set; }
        /// <summary>
        /// 征税比例
        /// </summary>
        public string TaxScale { get; set; }
        /// <summary>
        /// 许可证号
        /// </summary>
        public string License { get; set; }
        /// <summary>
        /// 启运国
        /// </summary>
        public string DepartureCountry { get; set; }
        /// <summary>
        /// 启动国代码
        /// </summary>
        public string DepartureCountryCode { get; set; }
        /// <summary>
        /// 启运港
        /// </summary>
        public string DeparturePort { get; set; }
        /// <summary>
        /// 装货港代码
        /// </summary>
        public string DeparturePortCode { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        public string Destination { get; set; }
        /// <summary>
        /// 目的地代码
        /// </summary>
        public string DestinationCode { get; set; }
        /// <summary>
        /// 批文号
        /// </summary>
        public string JobOffer { get; set; }
        /// <summary>
        /// 成交方式
        /// </summary>
        public string TradeTerms { get; set; }
        #region 运费
        /// <summary>
        /// 运费标志
        /// </summary>
        public string FreightFlag { get; set; }
        /// <summary>
        /// 运费
        /// </summary>
        public string FreightCharges { get; set; }
        /// <summary>
        /// 运费币种
        /// </summary>
        public string FreightCurrency { get; set; }
        #endregion
        #region 保费
        /// <summary>
        /// 保费标志
        /// </summary>
        public string PremiumsFlag { get; set; }        
        /// <summary>
        /// 保费
        /// </summary>
        public string Premiums { get; set; }
        /// <summary>
        /// 保费币种
        /// </summary>
        public string PremiumsCurrency { get; set; }
        #endregion
        #region 杂费
        /// <summary>
        /// 杂费标志
        /// </summary>
        public string OtherChargesFlag { get; set; }
        /// <summary>
        /// 杂费
        /// </summary>
        public string OtherCharges { get; set; }
        /// <summary>
        /// 杂费币种
        /// </summary>
        public string OtherChargesCurrency { get; set; }
        #endregion
        /// <summary>
        /// 合同号
        /// </summary>
        public string Contract { get; set; }
        /// <summary>
        /// 件数
        /// </summary>
        public string Quantity { get; set; }
        /// <summary>
        /// 包装类型
        /// </summary>
        public string PackageType { get; set; }
        /// <summary>
        /// 毛重
        /// </summary>
        public string GrossWeight { get; set; }
        /// <summary>
        /// 净重
        /// </summary>
        public string SuttleWeight { get; set; }
        /// <summary>
        /// 集装箱号
        /// </summary>
        public string Container { get; set; }
        /// <summary>
        /// 随附单据
        /// </summary>
        public string Documents { get; set; }
        /// <summary>
        /// 用途
        /// </summary>
        public string Usage { get; set; }
        /// <summary>
        /// 唛头
        /// </summary>
        public string ShippingMark { get; set; }
        /// <summary>
        /// 税费征收情况
        /// </summary>
        public string Tax { get; set; }
        /// <summary>
        /// 录入员
        /// </summary>
        public string Entry { get; set; }
        /// <summary>
        /// 输入单位
        /// </summary>
        public string EntryCompany { get; set; }
        /// <summary>
        /// 放行日期
        /// </summary>
        public string ReleaseDate { get; set; }
        /// <summary>
        /// 报关员
        /// </summary>
        public string Broker { get; set; }

        public Customs()
        {
            _Lines = new CustomsLines();
        }
        public CustomsLines Lines { get { return _Lines; } }
    }
}
